package com.zhuliwei.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (ChatContent)表实体类请求参数封装
 *
 * @author 朱力维
 * @since 2023-05-14 19:38:45
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatContentDto implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    //提问内容
    private String question;
    //提问者用户名
    private String userName;
    //0：正常回答1：出现异常
    private Integer status;
    //0:普通问答1：文生图2：语音生成3：语音翻译4：多模态
    private String type;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    //提问者
    private String createBy;

}

